/**
 * 
 */
package vue.popup;

import java.awt.Component;

import javax.swing.JPopupMenu;

/**
 * 
 * Interface for creation of custom {@link JPopupMenu}.
 * 
 * @author GRONOWSKI Stephane svan001@aol.com
 * 
 *         igsat 2010
 * 
 */
public interface IJPopupMenu {

	/**
	 * Cause the menu to refresh is option.
	 */
	public void refresh();

	/**
	 * @see JPopupMenu
	 * @param invoker
	 *            component that invoke the pop up
	 * @param x
	 *            x location
	 * @param y
	 *            y location
	 */
	public void show(Component invoker, int x, int y);
}
